package cn;

public class Node {
    public Object date;//存放节点值
    public Node next;//后继节点的引用
    public Node(){//无参数时的构造函数
        this(null,null);
    }
    public Node(Object date){//有一个参数时的构造函数
        this(date,null);
    }
    public Node(Object date,Node next){//有二个参数时的构造函数
        this.date=date;
        this.next=next;
    }
}
